package com.app.designpatternslearn.structured.decoratorpattern.code

class ConcreteDecoratorA(component: Component):Decorator(component) {

    override fun operate() {
        super.operate()
        operateAMethod()
    }

    private fun operateAMethod() {
        println("ConcreteDecoratorA添加的修饰方法")
    }

}